package innerdemon;

import java.util.Arrays;

public class Outer {
    public String name = "matty";
    public static String Name = "Matty";

    public static void fun1 () {
    }

    public void fun2 () {
    }

    public class Inner {
        public String name = "lyh";

//        public void fun () {
//            System.out.println(Outer.Name);
//            System.out.println(Outer.name);
//            System.out.println(Outer.this.nae);
//            Outer.fun1();
//            Outer.fun2();
//        }
        public void fun () {
            System.out.println("hello world");
        }
    }

    public static void main(String[] args) {
        Outer.Inner in = (new Outer()).new Inner();
        in.fun();
    }
}
